package car.aistar.dto;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 本类用来：
 *
 * @ClassName tqx_CarInfo
 * @Author tqx
 * @Date 2020/10/2 15:54
 */

public class TqxCarInfo {
    private Long cId;
    private Long brId;
    private Long stId;
    private String brName;
    private String stName;
    @DateTimeFormat(pattern = "yyyy")
    private Date creatDate;
//    上牌时间
    private Date registration;
    private Integer runFar;
    private String cGear;
    private String cDrive;
    private String picUrl;
    private Double price;
    private Integer miles;
    private String cus;
    private Integer cAge;

    public Long getBrId() {
        return brId;
    }

    public void setBrId(Long brId) {
        this.brId = brId;
    }

    public Integer getcAge() {
        return cAge;
    }

    public void setcAge(Integer cAge) {
        this.cAge = cAge;
    }

    public Long getStId() {
        return stId;
    }

    public void setStId(Long stId) {
        this.stId = stId;
    }

    public String getCus() {
        return cus;
    }

    public void setCus(String cus) {
        this.cus = cus;
    }

    public Integer getMiles() {
        return miles;
    }

    public void setMiles(Integer miles) {
        this.miles = miles;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getcId() {
        return cId;
    }

    public void setcId(Long cId) {
        this.cId = cId;
    }

    public String getBrName() {
        return brName;
    }

    public void setBrName(String brName) {
        this.brName = brName;
    }

    public String getStName() {
        return stName;
    }

    public void setStName(String stName) {
        this.stName = stName;
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }

    public Integer getRunFar() {
        return runFar;
    }

    public void setRunFar(Integer runFar) {
        this.runFar = runFar;
    }

    public String getcGear() {
        return cGear;
    }

    public void setcGear(String cGear) {
        this.cGear = cGear;
    }

    public String getcDrive() {
        return cDrive;
    }

    public void setcDrive(String cDrive) {
        this.cDrive = cDrive;
    }

    public Date getRegistration() {
        return registration;
    }

    public void setRegistration(Date registration) {
        this.registration = registration;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TqxCarInfo{");
        sb.append("cId=").append(cId);
        sb.append(", brId=").append(brId);
        sb.append(", stId=").append(stId);
        sb.append(", brName='").append(brName).append('\'');
        sb.append(", stName='").append(stName).append('\'');
        sb.append(", creatDate=").append(creatDate);
        sb.append(", registration=").append(registration);
        sb.append(", runFar=").append(runFar);
        sb.append(", cGear='").append(cGear).append('\'');
        sb.append(", cDrive='").append(cDrive).append('\'');
        sb.append(", picUrl='").append(picUrl).append('\'');
        sb.append(", price=").append(price);
        sb.append(", miles=").append(miles);
        sb.append(", cus='").append(cus).append('\'');
        sb.append(", cAge=").append(cAge);
        sb.append('}');
        return sb.toString();
    }
}
